/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beanView;

import Modelos.Libro;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author brayitan
 */
@ManagedBean
@RequestScoped
public class beanCreateLibro implements Serializable{
    private Libro L = new Libro();
    private List<Libro> LS = new ArrayList<Libro>();
    public String reinit(){
        L = new Libro();
        return null;
    }

    public Libro getL() {
        return L;
    }

    public void setL(Libro L) {
        this.L = L;
    }

    public List<Libro> getLS() {
        return LS;
    }

    public void setLS(List<Libro> LS) {
        this.LS = LS;
    }
    
}
